home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / MPW / lgrind 1.0.1 / possible-hacks / lgrind-patch < prev   
Encoding:
Text File  |  1993-05-08  |  1.3 KB  |  35 lines  |  [TEXT/MPS ]

  1. # This patch should lead to verbatim reproduction of comments in the LaTex output.
  2. # The standard lgrind compresses multiple spaces in comments to a single space.
  3. # Note: I haven't tried the suggestion below... (me==Fred Walsteijn)
  4.  
  5.  
  6. From twang@meishan.animal.uiuc.edu Sun Apr 25 04:22:58 1993
  7. Received: from meishan.animal.uiuc.edu by ruunfs.fys.ruu.nl with SMTP id AA25438
  8.   (5.65b+/IDA-1.4.3 for walsteyn); Sun, 25 Apr 93 04:22:56 +0200
  9. Received: by meishan.animal.uiuc.edu id AA02640
  10.   (5.67a/IDA-1.4.4 for walsteyn@fys.ruu.nl); Sat, 24 Apr 1993 21:22:30 -0500
  11. Date: Sat, 24 Apr 1993 21:22:30 -0500
  12. From: Tianlin Wang <twang@meishan.animal.uiuc.edu>
  13. Message-Id: <199304250222.AA02640@meishan.animal.uiuc.edu>
  14. To: walsteyn@fys.ruu.nl
  15. Subject: lgrind
  16. Status: OR
  17.  
  18. Thanks for your fix about FORTRAN lgrindefs entry.
  19.  
  20. Regarding to your Question 2, It seems to me that I have a simple solution.
  21.   look at lgrind.c, at the end of function putKcp(start, end, nix), I made
  22. some modification as shown below:
  23.       }
  24.       else {                               /* added by TW */
  25.          if (c==' ') printf("_");          /* added by TW */
  26.       }                                    /* added by TW */
  27.       outchar(c);
  28.    }
  29. }
  30.  
  31. Recompile, then your Question 2 will be answered.
  32.  
  33. Tianlin Wang at University of Illinois
  34.  
  35.